package com.baway.notice.repo

import com.baway.notice.api.NoticeApiServer
import com.bw.lib_common.model.BaseRepository
import com.bw.lib_http.OkHttpClientManager

class NoticeRepo: BaseRepository<NoticeApiServer>() {

    override fun createApiServer(): NoticeApiServer  = OkHttpClientManager.retrofitInstance.create(NoticeApiServer::class.java)

    suspend fun getNoticeList(page: Int, size: Int) = apiService.getNotice(page, size)
}